package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class booklist_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.List _jspx_dependants;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=EUC-KR");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=EUC-KR\">\r\n");
      out.write("<title>Insert title here</title>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("<center>\r\n");
      out.write("<form method=\"post\" enctype=\"multipart/form-data\" action=\"booklist_ok.jsp\">\r\n");
      out.write("\r\n");
      out.write("<table border=\"1\" width=\"500\">\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td width=\"150\">\r\n");
      out.write("\t\t분류선택\r\n");
      out.write("\t\t</td>\r\n");
      out.write("\t\t<td width=\"350\" align=\"left\">\r\n");
      out.write("\t\t<select name=\"bookstri\">\r\n");
      out.write("\t\t\t<option value=\"컴퓨터\">컴퓨터</option>\r\n");
      out.write("\t\t\t<option value=\"수험서\">수험서</option>\r\n");
      out.write("\t\t\t<option value=\"소설\">소설</option>\r\n");
      out.write("\t\t</select>\r\n");
      out.write("\t\t</td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td>제목</td>\r\n");
      out.write("\t\t<td align=\"left\"><input type=\"text\" name=\"title\" size=\"30\"></td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td>가격</td>\r\n");
      out.write("\t\t<td align=\"left\"><input type=\"text\" name=\"price\" size=\"10\">원</td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td>수량</td>\r\n");
      out.write("\t\t<td align=\"left\"><input type=\"text\" name=\"quantity\" size=\"10\">권</td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td>저자</td>\r\n");
      out.write("\t\t<td align=\"left\"><input type=\"text\" name=\"writer\" size=\"30\"></td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td>출판사</td>\r\n");
      out.write("\t\t<td align=\"left\"><input type=\"text\" name=\"publcom\" size=\"30\"></td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td>출판일</td>\r\n");
      out.write("\t\t<td align=\"left\">\r\n");
      out.write("\t\t<select name=\"year\">\r\n");
 for(int year=2000;year<2011;year++){
      out.write("\r\n");
      out.write("\t\t\t<option value=\"");
      out.print(year );
      out.write('"');
      out.write('>');
      out.print(year );
      out.write("</option>\r\n");
} 
      out.write("\r\n");
      out.write("\t\t</select>\r\n");
      out.write("\t\t<select name=\"m\">\r\n");
 for(int m=1;m<13;m++){
      out.write("\r\n");
      out.write("\t\t\t<option value=\"");
      out.print(m );
      out.write('"');
      out.write('>');
      out.print(m );
      out.write("</option>\r\n");
} 
      out.write("\r\n");
      out.write("\t\t</select>\r\n");
      out.write("\t\t<select name=\"d\">\r\n");
 for(int d=1;d<32;d++){
      out.write("\r\n");
      out.write("\t\t\t<option value=\"");
      out.print(d );
      out.write('"');
      out.write('>');
      out.print(d );
      out.write("</option>\r\n");
} 
      out.write("\r\n");
      out.write("\t\t</select>\r\n");
      out.write("\t\t</td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td>이미지</td>\r\n");
      out.write("\t\t<td align=\"left\"><input type=\"file\" name=\"bookimg\"></td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td>내용</td>\r\n");
      out.write("\t\t<td align=\"left\">\r\n");
      out.write("\t\t<textarea name=\"text\"></textarea>\r\n");
      out.write("\t\t</td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t\t<tr>\r\n");
      out.write("\t\t<td>할인율</td>\r\n");
      out.write("\t\t<td align=\"left\"><input type=\"text\" name=\"discount\" size=\"10\">%</td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("\t<tr>\r\n");
      out.write("\t\t<td colspan=\"2\"><input type=\"submit\" value=\"책등록\"><input type=\"reset\" value=\"다시작성\"></td>\r\n");
      out.write("\t</tr>\r\n");
      out.write("</table>\r\n");
      out.write("</form>\r\n");
      out.write("</center>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
